home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / src / patch / version.c < prev    next >
C/C++ Source or Header  |  1997-09-09  |  857b  |  43 lines

  1. /*
  2.  *    (c)Copyright 1992-1997 Obvious Implementations Corp.  Redistribution and
  3.  *    use is allowed under the terms of the DICE-LICENSE FILE,
  4.  *    DICE-LICENSE.TXT.
  5.  */
  6. /* $Header: /home/dice/com/src/patch/RCS/version.c,v 30.8 1994/08/18 05:51:59 dice Exp dice $
  7.  *
  8.  * $Log: version.c,v $
  9.  * Revision 30.8  1994/08/18  05:51:59  dice
  10.  * .
  11.  *
  12.  * Revision 30.0  1994/06/10  18:08:52  dice
  13.  * .
  14.  *
  15.  * Revision 30.0  1994/06/10  18:08:52  dice
  16.  * .
  17.  *
  18.  * Revision 2.0  86/09/17  15:40:11  lwall
  19.  * Baseline for netwide release.
  20.  * 
  21.  */
  22.  
  23. #include "EXTERN.h"
  24. #include "common.h"
  25. #include "util.h"
  26. #include "INTERN.h"
  27. #include "patchlevel.h"
  28. #include "version.h"
  29.  
  30. /* Print out the version number and die. */
  31.  
  32. void
  33. version()
  34. {
  35.     extern char rcsid[];
  36.  
  37. #ifdef lint
  38.     rcsid[0] = rcsid[0];
  39. #else
  40.     fatal3("%s\nPatch level: %s\n", rcsid, PATCHLEVEL);
  41. #endif
  42. }
  43.